package com.woniuxy.ptapp.common.exception;

import lombok.Data;

@Data
public class ParamException extends RuntimeException{
    private  Integer code;

    private String message;
    public ParamException(){
        this.message="参数校验异常";
        this.code=3001;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage(){
        return message;
    }
}
